JMCountApplets
Counts the number of applets associated with an HTML page.
OSStatus JMCountApplets ( JMAppletLocatorRef locatorRef, UInt32* appletCount);
locatorRef
- The applet locator that contains the parsed HTML text.
appletCount
- A pointer to the applet count. On return, this parameter points to the number of applets.
- function result
- A result code; see "JManager Result Codes".
DISCUSSION
If there are no applets associated with the text,JMCountApplets
returns 0. You can call this function only after successfully retrieving HTML text using theJMNewAppletLocator
function.SEE ALSO
"Finding Applets".